<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Design_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-design_id" data-rule="required" class="form-control selectpicker" name="row[design_id]">
                {foreach name="designs" item="vo"}
                <option value="{$vo->id}" {in name="$vo.id" value="1"}selected{/in}>{$vo->nickname}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-service_id" data-rule="required" class="form-control selectpicker" name="row[service_id]">
                {foreach name="modelingServices" item="vo"}
                <option value="{$vo->id}" {in name="$vo.id" value="1"}selected{/in}>{$vo->service_name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" name="row[price]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Online')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="onlineList" item="vo"}
                <label for="row[online]-{$key}">
                    <input type="radio" value="{$key}" name="row[online]" id="row[online]-{$key}" {in name="key" value="yes"}checked{/in}>{$vo}
                </label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
